/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package tp_sd_base;

import java.net.Socket;
import java.util.List;
import tp_sd_base.IServer.ERROR_TYPE;

/**
 *
 * @author kill9
 */
public interface IClient {
    

    public void onError(ERROR_TYPE eRROR_TYPE, String errorType);

    public void onLogin(String readUTF);

    public void onLogOut();

    public void onMessage(String nickName,String readUTF);

    public void onRanking(int readInt, List<Set<String,Integer>> list);

    public void onRefresh(int readInt, List<String> list);

    public void onPartialRefresh(int readInt, int operation,List<String> string);

    public void onInvalidOperation(int value);

    public void onInvalidArgs();

}
